package com.ruoyi.workflow.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 服务项对象 bus_service_item
 * 
 * @author xiaodu
 * @date 2023-06-29
 */
@Getter
@Setter
@TableName("bus_service_item")
public class ServiceItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 服务名称 */
    private String name;

    /** 服务原价 */
    private BigDecimal originalPrice;

    /** 折扣价 */
    private BigDecimal discountPrice;

    /** 是否套餐 */
    private Integer carPackage;

    /** 服务分类 */
    private Integer serviceCatalog;

    /** 审核状态 */
    private Integer auditStatus;

    /** 上架状态 */
    private Integer saleStatus;

    /** 备注 */
    private String info;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("originalPrice", getOriginalPrice())
            .append("discountPrice", getDiscountPrice())
            .append("carPackage", getCarPackage())
            .append("serviceCatalog", getServiceCatalog())
            .append("auditStatus", getAuditStatus())
            .append("saleStatus", getSaleStatus())
            .append("info", getInfo())
            .toString();
    }
}
